package com.tansun.easycare.rule.decisiontree.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.tansun.easycare.rule.common.model.BaseItem;

/**
 * 决策树输出信息
 *
 * @author Lph
 */
public class DecisionTreeItem extends BaseItem implements Serializable {

    private static final long serialVersionUID = 3741362488143348946L;

    /**
     * 参数类名
     */
    private String controlValue;
    /**
     * 输出变量列表
     */
    private List<DecisionTreeItem> list;
    /**
     * 节点ID
     */
    private String nodeId;
    /**
     * 是否集合
     */
    private String collection;

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getControlValue() {
        return controlValue;
    }

    public void setControlValue(String controlValue) {
        this.controlValue = controlValue;
    }

    public List<DecisionTreeItem> getList() {
        if (this.list == null)
            this.list = new ArrayList<DecisionTreeItem>();
        return list;
    }

    public void setList(List<DecisionTreeItem> list) {
        this.list = list;
    }

    public String getCollection() {
        return collection;
    }

    public void setCollection(String collection) {
        this.collection = collection;
    }

}
